package com.atguigu.gmallpublisher.service;

import com.alibaba.fastjson.JSONObject;
import com.atguigu.gmallpublisher.beans.DAUHour;
import com.atguigu.gmallpublisher.beans.GMVHour;

import java.io.IOException;
import java.util.List;

public interface PublisherService {
    //DAU
    Integer getDauByDate(String date);
    Integer getNewMidCountByDate(String date);
    List<DAUHour> getHourDAUNum(String date);
    //GMV
    Double getTotalAmountByDate(String date);
    List<GMVHour> getHourOrderAmount(String date);

    //灵活分析
    JSONObject getOrderDetail(String date, Integer startpage, Integer size, String keyword) throws IOException;
}
